package com.dhcc.controller;

        import org.springframework.web.bind.annotation.RequestMapping;
        import org.springframework.web.bind.annotation.RequestMethod;
        import org.springframework.web.bind.annotation.RestController;

@RestController
public class WxController {
    @RequestMapping(value = "content", method = RequestMethod.GET)
    public String content(String signature,String timestamp,String nonce,String echostr) {
        System.out.println("访问成功");
        return echostr;
    }

    @RequestMapping(value = "test", method = RequestMethod.GET)
    public String test() {
        System.out.println("访问成功");
        return "测试成功";
    }
}
